<?php
class AdduserAction extends BaseAction{
    public function index(){
       
        $this->display();
    }
    public function adduser(){
        
        $result=M('manager')->add($_POST);
     
        if($result>0){
            $this->success('添加成功',__APP__."/Adduser/index.html");
        }else{
            $this->success('添加失败',__APP__."/Adduser/index.html");
        }
    }
}